<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9;IE=8;IE=EDGE">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/default.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/main2.css"/>
    <script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
    <style type="text/css">
        .main-menu .menu li a{color:#fff;font-size:14px;padding:12px;}
        .one_menu{color:#fefefe !important;font-size:16px !important;}
        .main-menu .menu ul li{padding:10px 0 10px 40px;}
        .main-menu .menu ul li i{font-size:12px;}
        .glyphicon{display:inline !important;}
        .main-menu .menu li{border-bottom:1px solid #008686;}
    </style>
</head>
<body>
<div class="main-menu w_100" style="background-color:#009997;color:#fff;">
    <ul class="menu">
        <li>
            <a href="javascript:;" class="one_menu"><i class="glyphicon glyphicon-cog"></i>&nbsp;&nbsp;&nbsp;微信设置</a>
            <ul>
                <li><a href="./weixin/home/info/follow.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 首次关注回复
                </a></li>
                <li><a href="./weixin/home/info/auto_reply.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 无匹配回复
                </a></li>
                <li><a href="./weixin/home/info/menu.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 自定义菜单
                </a></li>
                <li><a href="./weixin/home/info/index.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 关键词回复
                </a></li>
                <li class="cur"><a href="./weixin/home/info/bind.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 微信接口配置
                </a></li>
                <li><a href="./weixin/home/info/auth.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 微信授权配置
                </a></li>
                <!-- <li><a href="./weixin/home/send/multi.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 群发
                </a></li> -->
            </ul>
        </li>
        <li>
            <a href="javascript:;" class="one_menu"><i class="glyphicon glyphicon-stats"></i>&nbsp;&nbsp;&nbsp;内容模块</a>
            <ul>
                <li><a href="<{:U('HptCity/index')}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 城市管理
                </a></li>
                <li><a href="<{:U('Hospital/index')}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 医院管理
                </a></li>
                <li><a href="<{:U('Words/edit',array('id'=>1))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 文案管理
                </a></li>
                <li><a href="<{:U('Resource/index',array('type'=>'food'))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 警示食物
                </a></li>
                <li><a href="<{:U('Resource/index',array('type'=>'time_section'))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 用餐时间段
                </a></li>
                <li><a href="<{:U('Resource/index',array('type'=>'medicine'))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 药品管理
                </a></li>
                <li><a href="<{:U('Know/index')}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 透析须知
                </a></li>
                <li><a href="<{:U('Resource/index',array('type'=>'cookbook'))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 食物百科
                </a></li>
                <li><a href="<{:U('Cookbook/index')}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 食谱&食材
                </a></li>
                <li><a href="<{:U('News/index')}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 新闻管理
                </a></li>
            </ul>
        </li>
        <li>
            <a href="javascript:;" class="one_menu"><i class="glyphicon glyphicon-user"></i>&nbsp;&nbsp;&nbsp;用户管理</a>
            <ul>
                <li><a href="<{:U('User/index',array('type'=>'1'))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 医生管理
                </a></li>
                <li><a href="<{:U('User/index',array('type'=>'3'))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 营养师管理
                </a></li>
                <li><a href="<{:U('User/index',array('type'=>'2'))}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 患者管理
                </a></li>
                <li><a href="<{:U('Chat/index')}>" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 系统医生聊天
                </a></li>
            </ul>
        </li>
        <!-- <li>
            <a href="javascript:;" class="one_menu"><i class="glyphicon glyphicon-user"></i>&nbsp;&nbsp;&nbsp;会员管理</a>
            <ul>
                <li><a href="./weixin/home/member/list.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 用户列表
                </a></li>
                <li><a href="./weixin/home/member/interact.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 互动消息
                </a></li>
            </ul>
        </li>
		<li>
            <a href="javascript:;" class="one_menu"><i class="glyphicon glyphicon-stats"></i>&nbsp;&nbsp;&nbsp;数据统计</a>
            <ul>
                <li><a href="./weixin/home/data/user.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 粉丝统计
                </a></li>
                <li><a href="./weixin/home/data/" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 互动统计
                </a></li>
                <li><a href="./weixin/home/data/message.php" target='rightFrame'>
                    <i class="glyphicon glyphicon-play"></i> 消息统计
                </a></li>
            </ul>
        </li> -->
    </ul>
</div>
<script>
    $(function(){
        $('.menu li').children('ul').find('li:last').addClass('omega');
        $('.menu li:first').children('ul').show();
        $('.menu li:gt(0)').children('ul').hide();
        $(".menu li>a").click(function(){
            var is_show  = $(this).next().is(":visible");
            if(is_show){
                $(this).next().slideUp(500);
            }else{
                $(this).next().slideDown(500).parent().siblings().children("ul").slideUp(500);
            }
        });
        $(".menu li ul li").click(function(){
            $(".menu li ul li").removeClass("cur");
            $(this).addClass("cur").siblings().removeClass("cur");
        });
    });
</script>
</body>
</html>